<template>
	<view class="page-error-recovery-detail">
		<u-navbar title="纠错详情" back-icon-color="#000" :border-bottom="false"
		title-size="36" title-color="#000" title-bold></u-navbar>
		<view class="warp u-font-30">
			<view class="row-warp u-margin-top-20 u-margin-bottom-20 u-flex u-col-top">
				<view class="left">
					姓名：
				</view>
				<view class="right">
					{{detail.xm}}	
				</view>
			</view>
			<view class="row-warp u-margin-top-20 u-margin-bottom-20 u-flex u-col-top">
				<view class="left">
					手机号：
				</view>
				<view class="right">
					{{detail.dh}}
				</view>
			</view>
			<view class="row-warp u-margin-top-20 u-margin-bottom-20 u-flex u-col-top">
				<view class="left">
					内容：
				</view>
				<view class="right">
					{{detail.nr}}
				</view>
			</view>
			<view class="row-warp u-margin-top-20 u-margin-bottom-20 u-flex u-col-top">
				<view class="left">
					审核结果：
				</view>
				<view class="right">
					已审核
				</view>
			</view>
			<view class="row-warp u-margin-top-20 u-margin-bottom-20 u-flex u-col-top">
				<view class="left">
					回复：
				</view>
				<view class="right">
					回复内容
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	import {commonGet} from '@/api/commonapi.js'
	export default {
		data() {
			return {
				id:"",
				detail:{}
			}
		},
		onLoad(options) {
			this.id = options.id
			this.getDetail()
		},
		methods: {
			getDetail(){
				let _this = this
				let query = {
					ak:_this.$store.state.token,
					cmd:"nEbook_query",
					para:JSON.stringify({
						id:_this.id
					})
				}
				commonGet(query,({Data})=>{
					console.log(Data)
					_this.detail = Data
				})
			},
		}
	}
</script>

<style lang="scss" >
	.warp{
		padding: 0 30rpx;
		.row-warp{
			width: 100%;
			.left{
				width: 150rpx;
			}
			.right{
				flex: 1;
			}
		}
	}
</style>
